<?php
/**
 * Created by PhpStorm
 * USER MingTingLiang   QQ 915802070
 * Date 2020-12-16-016   10:12
 */


class Subject
{

    public $content = "";
    public $state = 0;

    public function save()
    {
        file_put_contents(__DIR__ . "/subject.json", json_encode($this));
        echo "创建文案成功";
    }

}